package component.hadoop;

import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;

public class LogFieldList {
	Map<String, Integer>   fieldOrderMap;

	public LogFieldList() {
		super();
		this.fieldOrderMap = new HashMap<String,Integer>();
	}

	public boolean containsKey(Object key) {
		return fieldOrderMap.containsKey(key);
	}

	public Integer get(Object key) {
		return fieldOrderMap.get(key);
	}

	public Integer put(String key, Integer value) {
		return fieldOrderMap.put(key, value);
	}

	public void putAll(Map<? extends String, ? extends Integer> m) {
		fieldOrderMap.putAll(m);
	}

	public Set<Entry<String, Integer>> entrySet() {
		return fieldOrderMap.entrySet();
	}
	
	
}
